const {imgUrl} = getApp().globalData
Component({
  behaviors: [],
  properties: {},
  data: {
    imgUrl: imgUrl + 'tender/',
    current: 0,
  },
  lifetimes: {
    created() {},
    attached() {},
    moved() {},
    detached() {},
  },
  methods: {
    onChange(event) {
      this.setData({
        current: event.currentTarget.dataset.current,
      });
    },
  },
});
